import React, { FC } from 'react';
import { connect } from 'dva';
import { PageHeaderWrapper } from 'hzero-boot/lib/components/Page';
import Users from './components/Users';

export interface UserDashBoardProps {
  dispatch: any;
}

const UserDashBoard: FC<UserDashBoardProps> = () => {
  return (
    <PageHeaderWrapper title="user-dashboard">
      <Users />
    </PageHeaderWrapper>
  );
};

export default connect()(UserDashBoard);
